const root = document.documentElement;
const marginTop = document.getElementById("margin-top");

marginTop.addEventListener("click", () => {
  root.style.setProperty("--margin-top", marginTop.checked ? "auto" : "1rem");
});
